package com.aqie.libfactory.presenter.account;


import com.aqie.libcommon.factory.presenter.BaseContract;
import com.aqie.libfactory.model.api.user.RegisterModel;

public interface RegisterContract {
    interface View extends BaseContract.View<Presenter> {
        // 注册成功
        void registerSuccess();

    }

    interface Presenter extends BaseContract.Presenter {
        // 发起一个注册
        void register(RegisterModel registerModel);

        // 检查手机号是否正确
        boolean checkMobile(String phone);
    }

}
